package edu.sctu.zhangwang.month201506.day20150601;

import java.util.List;

/**
 * Created by Administrator on 2015/6/9.
 */
public class DealUtil {

    private SetPeopleData people;
    private SetTrianData setTrianData;
    List<PeopleAppbean> list;
    public DealUtil(){
        people = new SetPeopleData();
       setTrianData = new SetTrianData();
    }

    public void getpeople(){
        list = people.setPeopleData();
        if (list.get(0).isIs_card()){
            chaBaoguo();
        }else{

        }
    }
    public void chaBaoguo(){
        if (new BaoGuoDeth(list.get(0)).chaBaoGuo()) {
            System.out.println("包裹有违禁品");
        } else{

        }
    }
    public void chaWoter(){
        if (true){

        }else{

        }

    }
    public void getrode1(){
        setTrianData.setHashMapData().get(0);
    }
    public void getrode2(){
//        setTrianData.setHashMapData2();
    }
    public void is_Card(){

    }

}
